package top.ffhome.blog.service.impl;

import java.time.LocalDate;

import org.springframework.stereotype.Service;

import top.ffhome.blog.entity.ViewArticle;
import top.ffhome.blog.mapper.ViewArticleMapper;
import top.ffhome.blog.service.ViewArticleService;
import top.ffhome.common.service.impl.BaseServiceImpl;

@Service
public class ViewArticleServiceImpl extends BaseServiceImpl<ViewArticle, ViewArticleMapper>
		implements ViewArticleService {
	@Override
	public void clean() {
		mapper.clean(LocalDate.now().toString());
	}
}
